package main

func main1() {
	userName := "admin"
	passowd := "888772"
	if CheckPassword(userName, passowd) {
		println("登录成功")
	} else {
		println("登录失败")
	}
}

func CheckPassword(userName, passowd string) bool {
	if userName == "admin" && passowd == "888772" {
		println("密码正确")
		return true
	}
	// println("密码错误")
	return false
}
